package Abstract;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:lenovo
 * Date:2024-06-01
 * Time:15:26
 */
public class Manager extends Employee {
    public Manager(String name, int id, double bonus) {
        super(name, id, bonus);
    }

    @Override
    public void work() {
        System.out.println(getName()+"正在工作，"+"薪资:"+getBonus());
    }
}
